package com.lanju.service;


import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.lanju.entity.Entrust;
import com.lanju.model.ResultModel;

public interface HouseEntrustService {
	
	ResultModel add(Entrust obj,HttpServletRequest request,HttpServletResponse response);
	
	ResultModel del(Entrust obj);
	
	ResultModel edit(Entrust obj);
	
	ResultModel editHouseEntrust(Entrust obj);
	
	Entrust getById(String id);
	
	Entrust getByParam(Entrust obj);
	
	Map<String, Object> getList(Map param, int pageSize, int offset);
	
	Map<String,Object> updateEntrustType(Entrust entrust);

}
